package com.wing.product.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wing.product.model.entity.ProAbnormalCause;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


/**
 * -Dao
 *
 * @author
 */
@Mapper
public interface ProAbnormalCauseDao extends BaseMapper<ProAbnormalCause> {

    /**
     * 获取工序的质检错误信息
     * @param pg
     * @param map
     * @return
     */
    List<ProAbnormalCause> getAbnormalCauseList(@Param("page") Page<ProAbnormalCause> pg, @Param("params") Map<String, Object> map);
}
